/**
 * @description 绑定图片的事件
 * @author wangfupeng
 */

import bindPasteImg from 'wangeditor/dist/menus/img/bind-event/paste-img'
import bindDropImg from 'wangeditor/dist/menus/img/bind-event/drop-img'
import bindDragImgSize from 'wangeditor/dist/menus/img/bind-event/drag-size'
import bindTooltipImg from 'wangeditor/dist/menus/img/bind-event/tooltip-event';

/**
 * 绑定事件
 * @param editor 编辑器实例
 */
function bindEvent(editor) {
    // 粘贴图片
    bindPasteImg(editor)

    // 拖拽图片
    bindDropImg(editor)

    // // 可再扩展其他事件...如图片 tooltip 等
    // // 拖拽图片尺寸
    // bindDragImgSize(editor)
    //
    // //Tooltip
    // bindTooltipImg(editor)
}

export default bindEvent
